﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Core.CurrentFramework.Repository.Entity
{
    public class UsersInfo
    {
        [Key]

        public int id { get; set; }
        [Display(Name ="团队名称")]
        [Required(ErrorMessage ="请输入团队名称"),MaxLength(50,ErrorMessage ="团队名称不得超过50个字符")]
        public string FTeamName { get; set; }
        [Display(Name = "用户名")]
        [Required(ErrorMessage = "请输入用户名"), MaxLength(50, ErrorMessage = "用户名不得超过50个字符")]
        public string FUserName { get; set; }
        [Display(Name = "密码")]
        [Required(ErrorMessage = "请输入密码")]
        public string FUserPwd { get; set; }

        [Display(Name = "头像")]
        public string FPic { get; set; }

        [Display(Name = "手机号码")]
        public string FMobile { get; set; }

        [Display(Name = "邮箱")]
        public string FEmail { get; set; }

        [Display(Name = "真实姓名")]
        [Required(ErrorMessage = "请输入真实姓名"), MaxLength(50, ErrorMessage = "真实姓名不得超过50个字符")]
        public string FName { get; set; }

        [Display(Name = "身份证号码")]
        [Required(ErrorMessage = "请输入身份证号码"), MaxLength(50, ErrorMessage = "身份证号码不得超过50个字符")]
        public string FIdCardNo { get; set; }

        [Display(Name = "支付宝账号")]
        public string FPayNo { get; set; }

        [Display(Name = "居住地址")]
        public string Faddress { get; set; }
        [Display(Name = "项目经验")]
        public string FProjectExperience { get; set; }
        [Display(Name = "是否启用")]
        public bool FStatus { get; set; }
        [Display(Name = "用户类型")]
        public int FType { get; set; }
        [Display(Name = "时间")]
        public DateTime FDateTime { get; set; }
    }
}
